package com.huanong.pojo;

import java.util.Date;

/**
 * 产品表映射
 */
public class Product {

    //id
    private Integer PtId;

    //图片的url
    private String PtPictureUrl;

    //产品名称
    private String PtName;

    //产品价值
    private String PtValue;

    //产品功用
    private String PtUse;

    //产品介绍
    private String PtMessage;

    //产品改动时间
    private Date PtTime;

    private Double PtPrice;

    public Double getPtPrice() {
        return PtPrice;
    }

    public void setPtPrice(Double ptPrice) {
        PtPrice = ptPrice;
    }

    //外键，属于的种类
    private Types type;


    public Integer getPtId() {
        return PtId;
    }

    public void setPtId(Integer ptId) {
        PtId = ptId;
    }

    public String getPtPictureUrl() {
        return PtPictureUrl;
    }

    public void setPtPictureUrl(String ptPictureUrl) {
        PtPictureUrl = ptPictureUrl;
    }

    public String getPtName() {
        return PtName;
    }

    public void setPtName(String ptName) {
        PtName = ptName;
    }

    public String getPtValue() {
        return PtValue;
    }

    public void setPtValue(String ptValue) {
        PtValue = ptValue;
    }

    public String getPtUse() {
        return PtUse;
    }

    public void setPtUse(String ptUse) {
        PtUse = ptUse;
    }

    public String getPtMessage() {
        return PtMessage;
    }

    public void setPtMessage(String ptMessage) {
        PtMessage = ptMessage;
    }

    public Date getPtTime() {
        return PtTime;
    }

    public void setPtTime(Date ptTime) {
        PtTime = ptTime;
    }

    public Types getType() {
        return type;
    }

    public void setType(Types type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Product{" +
                "PtId=" + PtId +
                ", PtPictureUrl='" + PtPictureUrl + '\'' +
                ", PtName='" + PtName + '\'' +
                ", PtValue='" + PtValue + '\'' +
                ", PtUse='" + PtUse + '\'' +
                ", PtMessage='" + PtMessage + '\'' +
                ", PtTime=" + PtTime +
                ", PtPrice=" + PtPrice +
                ", type=" + type +
                '}';
    }
}
